﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Xml.Linq;

namespace SPaDevToolkit.Extensions
{
    public static class XmlLinqExtensions
    {
        public static string GetAttributeValue(this XElement element, string name)
        {
            return element.Attribute(name) == null ? string.Empty : element.Attribute(name).Value;
        }
    }
}
